package cn.sherer.beans.douyin.playlet;

import java.io.Serializable;

/**
 * 抖音短剧视频资源信息
 */
public class DyPlayletResourceVideoMeta implements Serializable {
    private String url;
    private String title;
    private String description;
    private String format;
    private boolean use_dy_cloud;
    private String dy_cloud_id;

    /** 视频格式：mp4 */
    public static final String VIDEO_META_FORMAT_MP4 = "mp4";
    /** 视频格式：m3u8 */
    public static final String VIDEO_META_FORMAT_M3U8 = "m3u8";


    public DyPlayletResourceVideoMeta() {
    }

    public DyPlayletResourceVideoMeta(String title, String description, String format, String dy_cloud_id) {
        this.title = title;
        this.description = description;
        this.format = format;
        this.dy_cloud_id = dy_cloud_id;
    }

    public DyPlayletResourceVideoMeta(String url, String title, String description, String format, boolean use_dy_cloud) {
        this.url = url;
        this.title = title;
        this.description = description;
        this.format = format;
        this.use_dy_cloud = use_dy_cloud;
    }

    public DyPlayletResourceVideoMeta(String url, String title, String description, String format, boolean use_dy_cloud, String dy_cloud_id) {
        this.url = url;
        this.title = title;
        this.description = description;
        this.format = format;
        this.use_dy_cloud = use_dy_cloud;
        this.dy_cloud_id = dy_cloud_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public boolean isUse_dy_cloud() {
        return use_dy_cloud;
    }

    public void setUse_dy_cloud(boolean use_dy_cloud) {
        this.use_dy_cloud = use_dy_cloud;
    }

    public String getDy_cloud_id() {
        return dy_cloud_id;
    }

    public void setDy_cloud_id(String dy_cloud_id) {
        this.dy_cloud_id = dy_cloud_id;
    }

    @Override
    public String toString() {
        return "DyPlayletResourceVideoMeta{" + "url=" + url + ", title=" + title + ", description=" + description + ", format=" + format + ", use_dy_cloud=" + use_dy_cloud + ", dy_cloud_id=" + dy_cloud_id + '}';
    }

}
